home *** CD-ROM | disk | FTP | other *** search
/ Power Programmierung 2 / Power-Programmierung CD 2 (Tewi)(1994).iso / gnu / gnulib / rcs4 / doc / rcsclean.man < prev    next >
Encoding:
Text File  |  1990-08-18  |  2.2 KB  |  133 lines

  1.  
  2.  
  3.  
  4.      RCSCLEAN(1L)         Purdue University          RCSCLEAN(1L)
  5.  
  6.  
  7.  
  8.      NAME
  9.       rcsclean - clean up working files
  10.  
  11.      SYNOPSIS
  12.       rcsclean [ -rrev ] [ -qrev ] file...
  13.  
  14.      DESCRIPTION
  15.       Rcsclean removes working files that were checked out and
  16.       never    modified.  For each file given,    rcsclean compares the
  17.       working file and a revision in the corresponding RCS file.
  18.       If it    finds no difference, it    removes    the working file, and,
  19.       if the revision was locked by    the caller, unlocks the
  20.       revision.
  21.  
  22.       A file name ending in    ',v' is    an RCS file name, otherwise a
  23.       working file name. Rcsclean derives the working file name
  24.       from the RCS file name and vice versa, as explained in
  25.       co(1L).  Pairs consisting of both an RCS and a working file
  26.       name may also    be specified.
  27.  
  28.       Rev specifies    with which revision the    working    file is
  29.       compared.  If    rev is omitted,    rcsclean compares the working
  30.       file with the    latest revision    on the default branch
  31.       (normally the    highest    branch on the trunk).  The option -q
  32.       suppresses diagnostics.
  33.  
  34.       Rcsclean is useful for "clean" targets in Makefiles.    Note
  35.       that rcsdiff(1L) prints out the differences.    Also, ci(1L)
  36.       normally asks    whether    to check in a file if it was not
  37.       changed.
  38.  
  39.      EXAMPLES
  40.       The command
  41.  
  42.            rcsclean    *.c *.h
  43.  
  44.       removes all working files ending in ".c" or ".h" that    were
  45.       not changed since their checkout.
  46.  
  47.      DIAGNOSTICS
  48.       The exit status is 0 if there    were no    differences during the
  49.       last comparison or if    the last working file did not exist, 1
  50.       if there were    differences, and 2 if there were errors.
  51.  
  52.      IDENTIFICATION
  53.       Author: Walter F. Tichy, Purdue University, West Lafayette,
  54.       IN, 47907.
  55.       Revision Number: 1.2 ; Release Date: 89/05/02    .
  56.       Copyright c 1982, 1988, 1989 by Walter F. Tichy.
  57.  
  58.      SEE ALSO
  59.       co(1L), ci(1L), ident(1L), rcs(1L), rcsdiff(1L),
  60.  
  61.  
  62.  
  63.      Page 1                         (printed 8/18/90)
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.      RCSCLEAN(1L)         Purdue University          RCSCLEAN(1L)
  71.  
  72.  
  73.  
  74.       rcsintro(1L),    rcsmerge(1L), rlog(1L),    rcsfile(5L).
  75.  
  76.  
  77.  
  78.  
  79.  
  80.  
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.      Page 2                         (printed 8/18/90)
  130.  
  131.  
  132.  
  133.